<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
    <style>
        .viewer{
            width: auto;
            height: 200px;
        }
        .container{
            margin-top: 200px;
        }
    </style>
</head>
<body>
    
    <div class="container">
        <div class="row">
            <img src="./images/peiqi_l.jpg" class="img-reponsive col-md-6 viewer"/>
            <img src="./images/qiaozhi_l.jpg" class="img-reponsive col-md-6 viewer"/>
        </div>
        
    </div>
    
    <script src="https://cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.js"></script>
    <script src="../dist/bootstrap.viewer.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $('.viewer').bootstrapViewer();//The default image source file path is the src attribute of the img tag.
        })
    </script>
</body>
</html>